<?
session_start();
include('common.php');
include('../includes/config.php');
if (session_is_registered(MySBB_Admin_username) and $member_permission == 1)
    {

// **  **


$con = mysql_pconnect($db_server,$db_username,$db_password) or die ('لم أتمكن من الوصول ');
mysql_select_db($db_name) or die ('لم أجد قاعدة البيانات ');
$query = "Select * from " . $db_prefix . "sb";
$sql = mysql_query ($query);
?>
<Br>
<div align="center">
  <center>
    <table border="1" cellpadding="3" cellspacing="1" style="{$border_style}" id="tab1" width="60%" id="AutoNumber1">
    <tr>
      <td id="tab" class="thead" width="112%" align="center" colspan="3">
		<p align="right">المواضيع المميزة : </td>
    </tr>


<?php
while($rows=mysql_fetch_array($sql)) {

?>
<div align="center">


		
	<tr align="center">
		<td id="tab" class="row1">
		<a href=sbact.php?del=1&id=<?php echo $rows['Id'] ;?>>حذف </a></td>
		
		
		<td id="tab" class="row1" width="80%"><a href=<?php echo $rows['link'] ?>><?php echo $rows['sub'] ; ?></a></td>
	
		
<?php

}
}
?>
